﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkFlowAccredTree.aspx.cs"
    Inherits="ZX.WebApp.WorkFlow.WorkFlowAccredTree" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxSiteMapControl" TagPrefix="dx" %><%@ Register Assembly="DevExpress.Web.v11.2"
        Namespace="DevExpress.Web.ASPxSiteMapControl" TagPrefix="dx" %><%@ Register Assembly="ZX.BPM.Web"
            Namespace="ZX.WebApp.WebControls" TagPrefix="cc1" %><%@ Register TagPrefix="dx" Namespace="DevExpress.Web.ASPxEditors"
                Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.10.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxSiteMapControl" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title><style type="text/css">
                       a:link { color: White; }
                       a:hover { color: red; }
                       a:visited { color: White; }
                       a:action { color: White; }
                   </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <cc1:CustomSiteMap ID="CustomSiteMap1" runat="server" MaximumDisplayLevels="4" EnableDefaultAppearance="True"
            SkinID="None" EnableViewState="False" Height="100%" Width="100%" Border-BorderWidth="0px"
            BackColor="Transparent" Font-Names="Tahoma" Font-Size="12px" Font-Underline="false">
            <Columns></Columns><ColumnSeparatorStyle Width="20px" Font-Underline="true"><Paddings
                Padding="0px" PaddingLeft="100px" PaddingRight="100px" /></ColumnSeparatorStyle>
            <Paddings Padding="30px" PaddingTop="20px" PaddingLeft="80px" PaddingRight="100px" />
            <DefaultLevelProperties Font-Underline="false" VerticalAlign="Top" ForeColor="Black"
                Font-Names="Tahoma" Font-Size="1em"></DefaultLevelProperties><LinkStyle HoverColor="#51A0EF">
                    <Font Underline="false" /><HoverFont Underline="false" /></LinkStyle><LevelProperties>
                        <dx:LevelProperties Font-Bold="true" Font-Names="Tahoma" Font-Size="15px" Font-Underline="false"
                            ForeColor="Black" VerticalAlign="Top"><ChildNodesPaddings Padding="0px" PaddingBottom="18px"
                                PaddingLeft="5px" PaddingRight="10px" PaddingTop="5px" /><NodePaddings Padding="0px" />
                            <BorderBottom BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" />
                        </dx:LevelProperties><dx:LevelProperties BulletStyle="None" Font-Names="Tahoma" Font-Size="1em"
                            ForeColor="#1473D2" NodeSpacing="3px" VerticalAlign="Top" Wrap="True"><NodeTemplate>
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td style="white-space: nowrap; padding: 1px;">
                                            <dx:ASPxImage ID="Image1" runat="server" Width="5px" ImageUrl="~/Images/WorkFlow/bpmimage.jpg" />
                                            &nbsp;
                                        </td>
                                        <td style="white-space: nowrap; padding: 1px; padding-top: 4px;">
                                            <asp:LinkButton ID="lbtnRegister" runat="server" Text='<%# Eval("Title") %>' PostBackUrl='<%# Eval("Url") %>'
                                                Font-Size="13px" ForeColor="#5d99da">
                                            </asp:LinkButton>
                                        </td>
                                        <td style="white-space: nowrap; padding: 1px;">
                                            &nbsp; <dx:ASPxLabel ID="lblcount" runat="server" Text='<%# (Eval("description").ToString()=="0/0")? "":"("+Eval("description")+")" %>'>
                                            </dx:ASPxLabel>
                                        </td>
                                        <td style="white-space: nowrap; padding: 1px;">
                                            <%-- <dx:ASPxImage ID="ImNew" runat="server" Width="25px" ImageUrl="~/Images/new4.gif" 
                                     <%--Visible ='<%#DataBinder.Eval(Container.DataItem, "description").ToString().Split('/')[0]== "0"?false:true%>'/>
                                     Visible = '<%#Split(DataBinder.Eval(Container.DataItem, "description ").ToString(), "/")[0]== "0"?false:true%>'
                                     </dx:ASPxImage>--%>
                                            <dx:ASPxImage ID="ImNew" runat="server" Width="25px" ImageUrl="~/Images/new4.gif"
                                                Visible='<%# DataBinder.Eval(Container.DataItem, "description").ToString().Split("/".ToCharArray())[0]== "0"?false:true%>'>
                                            </dx:ASPxImage>
                                        </td>
                                    </tr>
                                </table>
                            </NodeTemplate><ChildNodesPaddings PaddingLeft="100px" PaddingTop="33px" /><NodePaddings
                                Padding="10px" PaddingBottom="10px" PaddingTop="30px" /></dx:LevelProperties>
                    </LevelProperties><Border BorderWidth="0px" /></cc1:CustomSiteMap>
    </div>
    <div>
        <asp:Label ID="lblMes" runat="server" Font-Names="Arial" Font-Size="15pt" ForeColor="#FF3300"
            Visible="false" Text="你好！页面没有数据!"></asp:Label>
    </div>
    </form>
</body>
</html>
